#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
template<typename T>void read(T &ss)
{
	char ch;ss=0;ch=getchar();
	for (;!isdigit(ch);ch=getchar());
	for (;isdigit(ch);ch=getchar()) ss=(ss<<1)+(ss<<3)+(ch^48);
	return;
}
int main()
{
	srand(time(0));
	int n=rand()%10+1;
	printf("%d\n",n);
	n=rand()%10+1;
	printf("%d\n",n);
}
